package bootstrap

import (
	"gitee.com/lidongyooo/goblog/pkg/route"
	"gitee.com/lidongyooo/goblog/routes"
	"github.com/gorilla/mux"
)

func SetUpRoute() *mux.Router {
	router := mux.NewRouter()
	route.SetRoute(router)
	routes.RegisterWebRoutes(router)
	return router
}